package day08;

import java.util.TreeSet;

public class test02 {
    public static void main(String[] args) {
        TreeSet<Employee> list = new TreeSet<>();
        Employee t = new Employee("lihua", 23, 1800);
        Employee t1 = new Employee("liuhau", 24, 1800);
        Employee t2 = new Employee("shandi", 56, 6800);
        Employee t3 = new Employee("sahnan", 23, 7800);
        Employee t4 = new Employee("dixi", 13, 6800);
        list.add(t);
        list.add(t1);
        list.add(t2);
        list.add(t3);
        list.add(t4);
        System.out.println(list);
    }


}
